package com.fs.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author yyds
 * @fileName People
 * @date 2024/9/10 15:51
 * @description
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("people")
public class User {
    @TableId
    private Integer pid;
    private String pName;
    private String password;
    private String phone;
    private String uName;
    private Integer status;
    @TableField(exist = false)
    private List<House> houses;
}
